﻿<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <link href="/libs/codemirror/codemirror.css" type="text/css" rel="stylesheet" />
    <link href="/Less/engine.css" type="text/css" rel="stylesheet" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Dot World Maker</title>
    <style id="gameStyle"></style>
</head>
<body>
    <div id="contentArea"></div>
    <div id="hideMenu"></div>
    <div id="menubar">
        <div id="menu_Game">
            Game
            <div>
                <a href="#action=ImportExport">Import / Export</a>
                <a href="#action=Logout">Logout</a>
                <a href="#action=Play">Play</a>
                <a href="#" onclick="world.SaveMapChanges(); return false;">Save<span class="shortcut">Ctrl + S</span></a>
                <a href="#action=GameReset">Reset</a>
            </div>
        </div>
        <div id="menu_Art">
            Art
            <div>
                <a href="#action=ArtCharacterEditor">Characters</a>
                <a href="#action=HouseEditor">Houses</a>
                <a href="#action=HousePart">House Parts</a>
                <a href="#action=ArtObjectEditor">Map Objects</a>
                <a href="#action=ArtPanelEditor">Panel Style</a>
                <a href="#action=ArtQuickslotEditor">Quickslot Style</a>
                <a href="#action=ArtSoundEditor">Sounds &amp; Musics</a>
                <a href="#action=ArtStartBarEditor">Statbars Style</a>
                <a href="#action=ArtTileEditor">Tiles</a>
            </div>
        </div>
        <div id="game_Editors">
            Editors
            <div>
                <a href="#action=ChatBotEditor">Chat Bot</a>
                <a href="#action=GameEditor">Game</a>
                <a href="#action=GenericCodeEditor">Extensions</a>
                <a href="#action=InventorySlotEditor">Inventory Slot</a>
                <a href="#action=MapEditor">Maps</a>
                <a href="#action=MonsterEditor">Monsters</a>
                <a href="#action=NPCEditor">NPC</a>
                <a href="#action=ObjectEditor">Objects</a>
                <a href="#action=ObjectTypeEditor">Object Types</a>
                <a href="#action=ParticleEditor">Particles System Editor</a>
                <a href="#action=QuestEditor">Quests</a>
                <a href="#action=SkillEditor">Skills</a>
                <a href="#action=StatEditor">Stats</a>
                <a href="#action=TemporaryEffectEditor">Temporary Effects</a>
                <!--<a href="#action=TilesetExplorer">Tileset</a>-->
                <a href="#action=ZoneEditor">Zones</a>
            </div>
        </div>
        <div id="game_Admin">
            Admin
            <div>
                <a href="#action=StorageExplorer">DB Storage Explorer</a>
                <a href="#action=FileExplorer">File Explorer</a>
                <a href="#action=GameNews">Game News</a>
                <a href="#action=GameStats">Game Stats</a>
                <!--<a href="#action=modulemanager">module manager</a>-->
                <a href="#action=ViewPlayer">View Player</a>
            </div>
        </div>
        <div id="game_Help">
            Help
            <div>
                <a href="#action=About">About</a>
                <a href="https://www.dotworldmaker.com/Help/script_api.html" target="engineHelp">Script API</a>
                <a href="https://www.dotworldmaker.com/Help/tutorials.html" target="engineHelp">Tutorials</a>
                <a href="https://www.dotworldmaker.com/Help/" target="engineHelp">View Help<span class="shortcut">F1</span></a>
            </div>
        </div>
        <span id="game_Search"></span>
    </div>

    <div id="searchPanel">
        <div>Search everywhere:</div>
        <input type="text" placeholder="Search..." id="generalSearch" />
        <div id="generalSearchResult"></div>
    </div>

    <div id="chatContainer" class="gamePanel">
        <div class="gamePanelTopBorder"></div>
        <div id="chatTitle" class="gamePanelHeader">
            Global Chat
        </div>
        <div class="gamePanelContent">
            <div id="chatChannels"><span>Channels:</span><div>Global</div><div>Zone</div></div>
            <div id="chatUserList"></div>
            <div id="chatScroll">
            </div>
            <input type="text" id="chatLine" placeholder="Click here to start chatting..." onkeyup="Chat.Key(event, 'chatLine')" onfocus="Play.EnterField('chatLine')" onblur="Play.ExitField('chatLine')" />
        </div>
        <div class="gamePanelBottomBorder"></div>
    </div>
    <div id="chatCollapsed" class="gamePanel">
        <div class="gamePanelTopBorder"></div>
        <div class="gamePanelContentNoHeader"><div>Click to chat</div></div>
        <div class="gamePanelBottomBorder"></div>
    </div>
    <div id="chatEntry"><input type="text" id="chatEntryLine" placeholder="Click here to start chatting..." onkeyup="Chat.Key(event,'chatEntryLine')" onfocus="Play.EnterField('chatEntryLine')" onblur="Play.ExitField('chatEntryLine')" /></div>

    <div id="backgroundConfirm"></div>
    <div id="confirmDialog">
        <div id="confirmLabel">Hello!</div>
        <div id="confirmButtons">
            <div id="confirmOk" class="button" onclick="Framework.ConfirmOk();">Ok</div>
            <div id="confirmYes" class="button" onclick="Framework.ConfirmYes();">Yes</div>
            <div id="confirmNo" class="button" onclick="Framework.ConfirmNo();">No</div>
        </div>
    </div>
    <div id="displayMessage">
        <div class="gamePanelTopBorder"></div>
        <div id="displayMessageContent" class="gamePanelContentNoHeader">This is a test</div>
        <div class="gamePanelBottomBorder"></div>
    </div>

    <div id="loginBackground"></div>
    <div id="loginForm" class="gamePanel">
        <div class="gamePanelTopBorder"></div>
        <div class="gamePanelHeader">
            Login:
        </div>
        <div class="gamePanelContent">
        </div>
        <div class="gamePanelBottomBorder"></div>
    </div>

    <div id="gameNewsDisplay" class="gamePanel">
        <div class="gamePanelTopBorder"></div>
        <div class="gamePanelHeader">
            Game News:
        </div>
        <div class="gamePanelContent">
        </div>
        <div class="gamePanelBottomBorder"></div>
    </div>

    <div id="branding"><a href="https://www.dotworldmaker.com/" target="_blank">Created with <img src="/images/simple_small_logo.png" />Dot World Maker</a></div>

    <div id="errorWindow">
        <div>Error Window</div>
        <div></div>
        <div><span class="button" onclick="Main.HideError()">Hide</span></div>
    </div>

    <script src="/libs/codemirror/codemirror.js"></script>
    <script src="/libs/codemirror/addon/edit/matchbrackets.js"></script>
    <script src="/libs/codemirror/addon/comment/continuecomment.js"></script>
    <script src="/libs/codemirror/addon/comment/comment.js"></script>
    <script src="/libs/codemirror/mode/javascript.js"></script>
    <script src="/socket.io/socket.io.js"></script>
    <script src="/Engine/Libs/fpsmeter.min.js"></script>
    <script src="/maker.js" type="text/javascript"></script>
    <script>
        gameId = 1; selfHosted = true;
        $(Main.InitGameMaker);
    </script>
    <script>
        (function (i, s, o, g, r, a, m)
        {
            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function ()
            {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date(); a = s.createElement(o),
            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
        })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-83596487-1', 'auto');
        ga('send', 'pageview');

    </script>
</body>
</html>